<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib uri="estateTag" prefix="estateTag" %>
	<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title></title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" href="../resource/css/whole.css"
			type="text/css"></link>
		<link rel="stylesheet" href="../resource/css/memberCenter/infowithoutmenu.css"
			type="text/css"></link>
		<link rel="stylesheet" href="../resource/css/global.css"
			type="text/css"></link>
		<script charset="utf-8" src="../resource/js/kindeditor-4.1/kindeditor-min.js"></script>
		<script charset="utf-8" src="../resource/js/kindeditor-4.1/lang/zh_CN.js"></script>
		<script charset="utf-8" src="../resource/js/kindeditor-4.1/plugins/code/prettify.js"></script>
		<script src="../resource/js/jquery-1.4.2.js"></script>
		
	</head>
	<body><estateTag:security></estateTag:security>
		<center><jsp:include page="../index/top.jsp"></jsp:include></center>
		<div style="width: 100%; margin-top: 10px;" align="center">
			<input id="menuCls" type="hidden" value="31">
			<table class="layoutTab" style="border: 0px red solid;">
				<tr>
				<!-- 	<td width="20%" align="left" valign="top"><jsp:include
							page="../menu.jsp"></jsp:include></td> -->
					<td valign="top" align="center">
						<div class="position" align="left"><label>您所在的位置：</label>行业/市场管理模块&nbsp;&nbsp;--&gt;&gt;&nbsp;&nbsp;必读/须知管理</div>
						<br/>
						<div class="info_top"></div>
						<div class="info_mid" align="center">
							<h3 style="margin: 0; padding-top: 20px; padding-bottom: 20px;">
								内容维护
							</h3>
							<table border="0" cellpadding="0" cellspacing="0" width="760px">
								<tr>
									<td valign="top" align="center">
									<form action="../cm/save.shtml" method="post" >
										<table id="userinfo" width="710px" border="0" cellpadding="1"
											cellspacing="1">
											<tr>
												<td align="center" >
													<input type="hidden" name="obj.pcategoryId" value="${pcategoryId}"/>
													<input type="hidden" name="obj.categoryId" value="${categoryId}"/>
													<input type="hidden" name="obj.type" value="${type}"/>
													<input type="hidden" name="obj.type2" value="${type2}"/>
													<input type="hidden" name="obj.id" value="${obj.id}"/>
													<textarea id="content" name="obj.content" style="width: 600px;height:300px;" >${obj.content}</textarea>
												</td>
											</tr>
											<tr>
												<td align="center">
													<input id="submit" type="submit" 
														value="保存" />&nbsp;&nbsp;&nbsp;&nbsp;
													<input id="button" type="button" onclick="window.location.href='../cm/toPage.shtml'"
														value="返回" />
												</td>
											</tr>
										</table>
										</form>
									</td>
								</tr>
							</table>
						</div>
						<div class="info_bottom">
							&nbsp;
						</div>
					</td>
				</tr>
			</table>
		</div>
		<center> <iframe src="../index/footer.html" width="970" height="120" frameborder="0" scrolling="no"></iframe> </center></body>
		<SCRIPT type="text/javascript">
		if("1"=='${type}'&&"1"=='${type2}'){
		 var editor;
        KindEditor.ready(function(K) {
		               editor = K.create('#content', {
		               allowFileManager : true,
		               
		               uploadJson : '../resource/js/kindeditor-4.1/upload_json.jsp',
				       fileManagerJson : '../resource/js/kindeditor-4.1/file_manager_json.jsp',
                       items : [
					 	           'preview','source', '|', 'undo', 'redo', '|',  'cut', 'copy', 'paste',
						        'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
						        'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
						        'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/',
						        'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
						        'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|',
						        'table', 'hr', 'emoticons',
						        'link', 'unlink'
                  ]
                        
                });
        });
		}
		</SCRIPT>
</html>